package com.xbongbong.paas.pojo;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * @description: 主键&名称pojo
 * @Author: hongxiao
 * @date: 2019-01-30 14:39
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class IdNamePojo implements Serializable {
    private static final long serialVersionUID = -1L;
    /**
     * 考核对象id(部门id)
     */
    Long id;
    /**
     * 考核对象名称
     */
    String name;

    public IdNamePojo() {

    }

    public IdNamePojo(Long id, String name) {
        this.id = id;
        this.name = name;
    }
}
